home *** CD-ROM | disk | FTP | other *** search
- //
- // Generated by Microsoft (R) D3DX9 Shader Compiler 9.04.91.0000
- //
- // fxc /T ps_2_0 /DCGC=0 /Fc ..\..\WorkDir\Shaders\ps\ps2_0_HDR_particle.psh
- // ps2_0_HDR_particle.cg
- //
- //
- // Parameters:
- //
- // float4 $AmbientEmissive;
- // float4 $Diffuse;
- // float4 $LightSrcIntencity;
- // sampler2D $baseMap;
- //
- //
- // Registers:
- //
- // Name Reg Size
- // ------------------ ----- ----
- // $AmbientEmissive c0 1
- // $Diffuse c1 1
- // $LightSrcIntencity c2 1
- // $baseMap s0 1
- //
-
- ps_2_0
- def c3, 0.0199999996, 65504, 0, 0
- dcl t0.xy
- dcl t4.x
- dcl_2d s0
- texld r1, t0, s0
- mul r0.xyz, t4.x, c0
- mov r0.w, c3.x
- mad r2.xyz, r0, c2, r0.w
- mov r0.xyz, c2
- mul r0.xyz, r0, c1
- mad r0.xyz, r0, t4.x, r2
- mul r1.xyz, r1, r0
- min r0, r1, c3.y
- mov oC0, r0
-
- // approximately 10 instruction slots used (1 texture, 9 arithmetic)
-